package com.homework;

public class C extends B{
    //定义成员变量numc
    private int numc = 30;
    //重写
    @Override
    public void showA() {
        System.out.println("A类中numa："+super.numa);
    }

    @Override
    public void showB() {
        System.out.println("B类中numb："+super.numb);
    }
    public void showC(){
        System.out.println("C类中numc："+numc);
    }
}
